package com.linked.store.thing.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/4/3 14:03
 * @description : desc
 */
@Data
@TableName("store_brand_info")
public class BrandInfoPO {

    @TableId(value = "brand_id", type = IdType.ASSIGN_UUID)
    private String brandId;

    @TableField("brand_name")
    private String brandName;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @TableField("data_status")
    private Integer dataStatus;
}
